package com.hbnu.expression;

/**
 * 需求：
 *      求三个和尚的最高身高
 *
 */
public class Expression01 {
    public static void main(String[] args) {
        int height1 = 150;
        int height2 = 210;
        int height3 = 165;

        int maxHeght = height1 > height2 ? height1 : height2;
        maxHeght = maxHeght > height3 ? maxHeght : height3;
        System.out.println("最高身高为：" + maxHeght);
    }

}
